jQuery(document).ready(function ($) {
    $("body").click(function (e) {
        // 定义弹出文字，不超过7个
        var a = new Array("快乐", "天真", "无忧", "幸福", "纯真", "活泼", "纯洁");
        var b = new Array('命运','自我','关系','动力','思维','身体','情感');
        var c = new Array('觉知','空间','创造','现实','自由','无常','流动');
        var d = new Array('自恋','攻击性','性');
        var f = new Array('流动的水', '燃烧的火', '照亮的你');
        
        // 模板变量
        var At = f;

        var max = At.length;
        var min = 0;
        var num = Math.floor(Math.random() * (max - min + 1) + min);


        var $i = $("<span></span>").text(At[num]);
        var x = e.pageX,
            y = e.pageY;
        $i.css({
            "z-index": 999999999,
            "top": y - 20,
            "left": x,
            "position": "absolute",
            "font-weight": "bold",
            "color": "rgb(" + ~~(255 * Math.random()) + "," + ~~(255 * Math.random()) + "," + ~~(255 * Math.random()) + ")"
        });
        $("body").append($i);
        $i.animate({
            "top": y - 180,
            "opacity": 0
        },
            1500,
            function () {
                $i.remove();
            });
    });
});